@use "./reset";

.app-container {
  padding: 15px;
}

.search-bar {
  padding: 18px 0 0 10px;
  margin-bottom: 10px;
  background-color: var(--el-bg-color-overlay);
  border: 1px solid var(--el-border-color-light);
  border-radius: 4px;
  box-shadow: var(--el-box-shadow-light);
}

.table-container > .el-card__header {
  padding: calc(var(--el-card-padding) - 8px) var(--el-card-padding);
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32 160 255);
  }
}

.tour-popper {
  --el-tour-text-color: #333;
  --el-tour-bg-color: #fff;
  --el-tour-border-color: #eee;
  --el-tour-primary-color: var(--el-color-primary);
  --el-tour-padding: 16px;
  --el-tour-border-radius: 8px;
  --el-tour-arrow-size: 8px;
  --el-tour-mask-color: rgba(0, 0, 0, 0.5);

  .el-tour__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
  }

  .el-tour__description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
  }

  .el-tour__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .el-tour__mask {
    background-color: var(--el-tour-mask-color);
  }
}

// 暗黑模式下的样式
html.dark {
  .tour-popper {
    --el-tour-text-color: #fff;
    --el-tour-bg-color: #1d1e1f;
    --el-tour-border-color: #333;
    --el-tour-mask-color: rgba(0, 0, 0, 0.7);
  }
}
